package com.chapter.sample.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration //标注当前类是一个配置类（替代配置文件） + @Component

@ComponentScan("com.chapter.sample")

//@PropertySource("classpath:jdbc.properties")
public class SpringConfig {

}
